package com.zhku.shoppingspringboot.pojo.vo.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zhku.shoppingspringboot.pojo.entity.goodsData.Properties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author hwy
 * @date 2025-01-02 21:28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
public class SkuVO {
    @ApiModelProperty("商品id")
    private Long goodsId;

    /**
     * 商品属性
     */
    @ApiModelProperty("商品属性")
    private String attrsText;
    /**
     * 商品数量
     */
    @ApiModelProperty("商品数量（购买的数量）")
    private Long count;


    @ApiModelProperty("原始价格")
    private Float oldPrice;

    @ApiModelProperty("现价格")
    private Float Price;

    @ApiModelProperty("实付金额")
    private Float totalPayPrice;

    @ApiModelProperty("图片")
    private String picture;

    @ApiModelProperty("spu id")
    private String spuId;

    @ApiModelProperty("商品属性集合")
    private List<Properties> properties;
}
